from rest_framework import serializers
import logging

# import tsl_backend.frontend_api.models.workorder as workorders
import tsl_backend.frontend_api.models.route as routes
# import tsl_backend.frontend_api.models.order_routing as order_routing
# import tsl_backend.users.models as users

class UploadRoutingTableSerializer(serializers.ModelSerializer):

    class Meta:
        model = routes.Master
        # fields = '__all__'
        fields = ['serial','design','mould','gold_type','single_job','fg_article']

    # def create(self, validated_data):


class OutstandingMasterSerializer(serializers.ModelSerializer):

    class Meta:
        model = routes.OutstandingMaster
        fields = '__all__'
        # fields = ['serial','design','mould','gold_type','single_job','fg_article']
